using System;
using System.Collections.Generic;
using HR60_PanelSoft.Model.BaseModel;

namespace HR60_PanelSoft.Model
{
	/// <summary>
	/// 高级控制页面
	/// </summary>
	public class ExPanelPage : PanelPage
	{
		/// <summary>
		/// 映射的子设备列表,ref
		/// </summary>
		public List<string> mappingSubExDevice = new List<string>();

		/// <summary>
		/// 映射的子设备列表,ref to obj
		/// </summary>
		/// <returns>The mapping sub ex device.</returns>
		public List<Device> getMappingSubExDevice()
		{
			List<Device> list = new List<Device> ();
			foreach (string uuid in mappingSubExDevice) 
			{
				list.Add (Device.find (uuid));
			}
			return list;
		}

	}
}

